// 导入mysql模块
const mysql = require('mysql')

const db = mysql.createPool({
  host:'127.0.0.1',
  user:'root',
  password:'123456',
  database:'cultural_tourism'
})
module.exports = db